<html> <head>
<title>EJS example</title>
<script src="ejs.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.js">
</script>
</head>
<body>
<div id='output'></div>
<script>
   var template = "<%= message %>";
   var context = {message: 'Hello template!'};

   $(document).ready(function() {
     $('#output').html(
       ejs.render(template, context)
     );
   });
  </script>
</body>
</html>
